From 37a14352aa9f861e2713c821c639f4adb7a2dd82 Mon Sep 17 00:00:00 2001 From: Simone <26844016+simonebortolin@users.noreply.github.com> Date: Fri, 9 Jun 2023 15:24:57 +0200 Subject: Rainbow flag (#237) Remove bar and add a flag --- _config.yml | 4 +++- _layouts/default.html | 28 ++++++++++++++++++++++------ 2 files changed, 25 insertions(+), 7 deletions(-) diff --git a/_config.yml b/_config.yml index 61abf68..4018f5c 100644 --- a/_config.yml +++ b/_config.yml @@ -48,7 +48,7 @@ aux_buttons: color: 'blue' icon: 'telegram' link: '//t.me/HackGPON' - + #aux_links: # "Hack GPON on GitHub": # - "//github.com/hack-gpon/hack-gpon.github.io" @@ -141,3 +141,5 @@ defaults: path: "assets/**/*.pdf" values: sitemap: false + +enable_rainbow: true \ No newline at end of file diff --git a/_layouts/default.html b/_layouts/default.html index 1d2837d..2c060d6 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -7,6 +7,16 @@ layout: table_wrappers {% include head.html %} + {% if site.enable_rainbow == true %} + + {% endif %} Skip to main content @@ -46,17 +56,16 @@ layout: table_wrappers {% include icons/switch_color_scheme.html %} {% endif %} {% include icons/custom.html %} -